package com.medical.mapper;
import java.util.List;
import java.util.Map;

import com.medical.po.City;
import com.medical.po.DoctorinfoCustom;
import com.medical.po.DoctorinfoQueryVo;
import com.medical.po.DoctorlogininfoCustom;
import com.medical.po.Hospitaldept;
import com.medical.po.HosporderCustom;

public interface DoctorinfoMapperCustom {
	/**
	 * 商品查询列表
	 * @param doctorinfoQueryVo
	 * @return
	 * @throws Exception
	 */
	public List<DoctorinfoCustom> findItemsList(DoctorinfoQueryVo doctorinfoQueryVo)throws Exception;
	/**
	 * 查询表doctorinfo信息
	 * @param doctorinfoCustom
	 * @return
	 * @throws Exception
	 */
	public List<DoctorinfoCustom> findDoctorList(DoctorinfoCustom doctorinfoCustom)throws Exception;
	/**
	 * 返回医生列表中的记录条数
	 * @return
	 * @throws Exception
	 */
	public int countdoctorList()throws Exception;
	/**
	 * 分页返回list集合，实现医生列表的分页
	 * @param doctorinfoCustom
	 * @return
	 * @throws Exception
	 */
	public List<DoctorlogininfoCustom> paginationDoctorList(DoctorlogininfoCustom doctorlogininfoCustom)throws Exception;
	/**
	 * 自定义的查询，返回List集合，连接表doctorlogininfo,doctorskd,doctorinfo，封装需要的字段在pojo——DoctorlogininfoCustom中
	 * @param DoctorlogininfoCustom
	 * @return
	 * @throws Exception
	 */
	public List<DoctorlogininfoCustom> findDoctorloginList(DoctorlogininfoCustom DoctorlogininfoCustom)throws Exception;
	/**
	 * 初始化表hosporder，实现在DoctorinfoMapperCustom.xml中
	 * @param hosporderCustom
	 * @return
	 * @throws Exception
	 */
	public List<HosporderCustom> findHospOrderList(HosporderCustom hosporderCustom)throws Exception;
	/**
	 * 插入表hosporder数据，实现在DoctorinfoMapperCustom.xml中
	 * @param hosporderCustom
	 * @return
	 * @throws Exception
	 */
	public int InsertHospOrder(HosporderCustom hosporderCustom)throws Exception;
	/**
	 * 自定义查询城市列表，实现在DoctorinfoMapperCustom.xml中
	 * @param city
	 * @return
	 * @throws Exception
	 */
	public List<City> getCity(City city)throws Exception;
	/**
	 * 自定义初始化医院部门下拉框，实现在DoctorinfoMapperCustom.xml中
	 * @param hospitaldept
	 * @return
	 * @throws Exception
	 */
	public List<Hospitaldept> getHospitalDept(Hospitaldept hospitaldept)throws Exception;
}